<?php 
/**
 * 控制基类
 * @author Yuwei(yuwei1122@gmail.com)
 *
 */
class BluePhp_Core_Action
{
	/**
	 * 模板
	 * @var unknown_type
	 */
	protected $_template;
	
	/**
	 * 构造函数
	 */
	public function __construct()
	{
		$this->_template = new BluePhp_Library_Template_Adapter();
	}
	
	/**
	 * 数据设置
	 * @param unknown_type $tpl_var
	 * @param unknown_type $value
	 */
	public function assign($tpl_var,$value)
	{
		$this->_template->assign($tpl_var,$value);
	}
	
	/**
	 * 页面展示
	 * @param unknown_type $template
	 * @param unknown_type $option
	 */
	public function display($template,$option = '')
	{
		$this->_template->display($template,$option);
	}
}
?>